import java.util.ArrayList;
import java.util.List;

public class EcmDef {
    public static void main (String[] args){
        try{
            int a = Integer.parseInt(args[0]);
            int b = Integer.parseInt(args[1]);
            System.out.println(a/b);
            Exception EcDef = new Exception("输入为负数！");
            if (a<0||b<0){
                throw EcDef;
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        List<Person> people = new ArrayList<>();
        people.add(new Person("ww",1));
        people.add(new Person("tt",6));
        people.add(new Person());
        for (Person p : people){
            System.out.println(p.name+":"+p.age);
        }
    }
    static class Person{
        @MyAnnotation
        String name="aa";
        int age;
        public Person(String name,int age){
            this.name=name;
            this.age=age;
        }
        public Person(){}
    }
    public @interface MyAnnotation{
        String value() default "aa";
    }

}
